<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<s:set name="quoteMap" value="orderVendor.quoteMap" />
<div class="box_blue">
	<div class="box_title">
		订单信息
	</div>
	<table style="width: 100%;">
		<tr>
			<th width="20">
				NO.
			</th>
			<th>
				商品/服务名称
			</th>
			<th width="50">
				单位数量
			</th>
			<th width="200">
				要求
			</th>
			<th width="150">
				商品/服务价格
			</th>
			<th width="150">
				运费/杂费
			</th>
		</tr>
		<s:iterator value="#orderCustomer.orderRequests" id="request" status="status">
			<s:set name="orderRequest" value="top" />
			<s:set name="quote" value="#quoteMap.get(#orderRequest)" />
			<tr <s:if test="#quote.hasQuoted()">quoted="true"</s:if> <s:else>quoted="false"</s:else>>
				<td>
					<s:property value="#status.index+1" />
				</td>
				<td>
					<s:property value="#orderRequest.product.name" />
				</td>
				<td>
					<s:property value="#orderRequest.count" />
				</td>
				<td>
					<s:iterator value="#orderRequest.propertyValues" id="pvalue">
									[<s:property value="#pvalue.property.name" />:<s:property value="#pvalue.value" />]&nbsp;
				</s:iterator>
				</td>
				<td>
					<span class="amount_show" style="margin-right: 10px; cursor: pointer; display: inline;" name="amount"><s:property value="#quote.amount" /> </span>
				</td>
				<td>
					<span class="amount_show" style="margin-right: 10px; cursor: pointer; display: inline;" name="carriage"><s:property value="#quote.carriage" /> </span>
				</td>
			</tr>

		</s:iterator>
	</table>
</div>

<div>
	<br />
	送货方式:
	<s:text name="deliverType_%{#orderCustomer.deliverType.ordinal()}" />
	<br />
	付款方式:
	<s:text name="payType_%{#orderCustomer.payType.ordinal()}" />
</div>

<s:set name="address" value="#orderCustomer.address" />
<jsp:include page="/address/address_view_table.jsp"></jsp:include>
